package com.example.testspringes.mianshi;

/**
 * @Description: //TODO
 * @ProjectName: testspringes
 * @Package: com.example.testspringes.mianshi
 * @Author: FX
 * @CreateDate: 2019/2/25 23:56
 * @Version: 1.0
 * Copyright: Copyright (c) 2019
 */
public class MianShi2 {
    public static void main(String[] args) {
        ge(10);
    }

    public static  void  ge(int m){
        if(m>0){
            System.out.print(m+" ");
            ge(m-1);
            System.out.print(m+" ");
        }
    }
}
